[INFO] fetching crate midgard-rs 0.0.5...
[INFO] testing midgard-rs-0.0.5 against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] extracting crate midgard-rs 0.0.5 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate midgard-rs 0.0.5
[INFO] finished tweaking crates.io crate midgard-rs 0.0.5
[INFO] tweaked toml for crates.io crate midgard-rs 0.0.5 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate midgard-rs 0.0.5 on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 284 packages to latest compatible versions
[INFO] [stderr]       Adding thiserror v1.0.69 (available: v2.0.18)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1d66fa0ceefe1b5350db98933d2bf55d666fca4a966f5e5ad0e6e496579ddff4
[INFO] running `Command { std: "docker" "start" "-a" "1d66fa0ceefe1b5350db98933d2bf55d666fca4a966f5e5ad0e6e496579ddff4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1d66fa0ceefe1b5350db98933d2bf55d666fca4a966f5e5ad0e6e496579ddff4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1d66fa0ceefe1b5350db98933d2bf55d666fca4a966f5e5ad0e6e496579ddff4", kill_on_drop: false }`
[INFO] [stdout] 1d66fa0ceefe1b5350db98933d2bf55d666fca4a966f5e5ad0e6e496579ddff4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ee382a7d44532b42630190abfdfe33506fcb2ef4da80457f614eaaa70dc128da
[INFO] running `Command { std: "docker" "start" "-a" "ee382a7d44532b42630190abfdfe33506fcb2ef4da80457f614eaaa70dc128da", kill_on_drop: false }`
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling aws-lc-rs v1.16.2
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling rustls-pki-types v1.14.0
[INFO] [stderr]    Compiling rustls v0.23.37
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling cc v1.2.58
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling rand_core v0.10.0
[INFO] [stderr]    Compiling ordered-float v2.10.1
[INFO] [stderr]    Compiling cpufeatures v0.3.0
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling rust_decimal v1.41.0
[INFO] [stderr]    Compiling iri-string v0.7.12
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling rustls-native-certs v0.8.3
[INFO] [stderr]    Compiling chacha20 v0.10.0
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling rand v0.10.0
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]    Compiling aws-lc-sys v0.39.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling tokio-macros v2.6.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio v1.50.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]    Compiling darling v0.23.0
[INFO] [stderr]    Compiling serde_with_macros v3.18.0
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling h2 v0.4.13
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling serde-value v0.7.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_with v3.18.0
[INFO] [stderr]    Compiling tokio-test v0.4.5
[INFO] [stderr]    Compiling serde-aux v4.7.0
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling rustls-webpki v0.103.10
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling rustls-platform-verifier v0.6.2
[INFO] [stderr]    Compiling hyper-rustls v0.27.7
[INFO] [stderr]    Compiling reqwest v0.13.2
[INFO] [stderr]    Compiling midgard-rs v0.0.5 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 11s
[INFO] running `Command { std: "docker" "inspect" "ee382a7d44532b42630190abfdfe33506fcb2ef4da80457f614eaaa70dc128da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee382a7d44532b42630190abfdfe33506fcb2ef4da80457f614eaaa70dc128da", kill_on_drop: false }`
[INFO] [stdout] ee382a7d44532b42630190abfdfe33506fcb2ef4da80457f614eaaa70dc128da
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b1cd775ebaaffa71b7d0aeafd3e080a49e18ff90755a54c3887e87e2bb90ed11
[INFO] running `Command { std: "docker" "start" "-a" "b1cd775ebaaffa71b7d0aeafd3e080a49e18ff90755a54c3887e87e2bb90ed11", kill_on_drop: false }`
[INFO] [stderr]    Compiling midgard-rs v0.0.5 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find function `thread_rng` in crate `rand`
[INFO] [stdout]   --> src/midgard/endpoints/borrowers.rs:88:63
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let address_1 = borrowers.get_borrowers().choose(&mut rand::thread_rng()).unwrap().clone();
[INFO] [stdout]    |                                                                     ^^^^^^^^^^ not found in `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `thread_rng` in crate `rand`
[INFO] [stdout]   --> src/midgard/endpoints/borrowers.rs:89:63
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let address_2 = borrowers.get_borrowers().choose(&mut rand::thread_rng()).unwrap().clone();
[INFO] [stdout]    |                                                                     ^^^^^^^^^^ not found in `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope
[INFO] [stdout]    --> src/midgard/endpoints/members.rs:114:22
[INFO] [stdout]     |
[INFO] [stdout] 114 |         let random_usize = thread_rng().gen_range(0..pool_list.get_assets().len());
[INFO] [stdout]     |                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope
[INFO] [stdout]    --> src/midgard/endpoints/members.rs:119:22
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let random_usize = thread_rng().gen_range(0..member_list.get_members().len());
[INFO] [stdout]     |                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope
[INFO] [stdout]    --> src/midgard/endpoints/members.rs:120:24
[INFO] [stdout]     |
[INFO] [stdout] 120 |         let random_usize_2 = thread_rng().gen_range(0..member_list.get_members().len());
[INFO] [stdout]     |                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope
[INFO] [stdout]    --> src/midgard/endpoints/members.rs:136:22
[INFO] [stdout]     |
[INFO] [stdout] 136 |         let random_usize = thread_rng().gen_range(0..pool_list.get_assets().len());
[INFO] [stdout]     |                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope
[INFO] [stdout]    --> src/midgard/endpoints/pools.rs:184:22
[INFO] [stdout]     |
[INFO] [stdout] 184 |         let random_usize = thread_rng().gen_range(0..pool_list.get_pools().len());
[INFO] [stdout]     |                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope
[INFO] [stdout]    --> src/midgard/endpoints/pools.rs:209:36
[INFO] [stdout]     |
[INFO] [stdout] 209 |                 let random_usize = thread_rng().gen_range(0..pool_list.get_pools().len());
[INFO] [stdout]     |                                    ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope
[INFO] [stdout]   --> src/midgard/mod.rs:85:22
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let random_usize = thread_rng().gen_range(0..pool_list.get_assets().len());
[INFO] [stdout]    |                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude`
[INFO] [stdout]    --> src/midgard/endpoints/members.rs:103:6
[INFO] [stdout]     |
[INFO] [stdout] 103 |     use rand::prelude::*;
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude`
[INFO] [stdout]    --> src/midgard/endpoints/pools.rs:120:6
[INFO] [stdout]     |
[INFO] [stdout] 120 |     use rand::prelude::*;
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude`
[INFO] [stdout]   --> src/midgard/mod.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |         use rand::prelude::*;
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `midgard-rs` (lib test) due to 9 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b1cd775ebaaffa71b7d0aeafd3e080a49e18ff90755a54c3887e87e2bb90ed11", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b1cd775ebaaffa71b7d0aeafd3e080a49e18ff90755a54c3887e87e2bb90ed11", kill_on_drop: false }`
[INFO] [stdout] b1cd775ebaaffa71b7d0aeafd3e080a49e18ff90755a54c3887e87e2bb90ed11
